package com.kady.Dao;

import com.kady.entity.FoodType;
import com.kady.entity.Menu;

import java.sql.SQLException;
import java.util.List;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: kady
 * \* Date: 2021/3/23
 * \* Time: 17:15
 * \* 千峰JAVA2101班
 * \* Description: 菜系Dao
 * \
 */

public interface FoodTypeDao {
    List<FoodType> selectFoodTypeList(String keyword) throws SQLException;

    FoodType selectFoodType(long typeId) throws SQLException;

    void saveFoodType(Object...objs) throws SQLException;

    void updateFoodType(Object...objs) throws SQLException;

    void deleteFoodType(long typeId) throws SQLException;

    FoodType selectFoodTypeByName(String name) throws SQLException;
}
